﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightPlayground.RFB
{
    public class RfbFailureEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the error.
        /// </summary>
        /// <value>The error.</value>
        public Exception Error { get; private set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="RfbFailureEventArgs"/> class.
        /// </summary>
        /// <param name="error">The error.</param>
        public RfbFailureEventArgs(Exception error)
        {
            this.Error = error;
        }
    }
}
